|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--cnrg.itx.datax.PropertiesCollection
Class to implement a collection of properties.
| Constructor Summary | |
PropertiesCollection()
Default constructor for the PropertiesCollection object. |
|
PropertiesCollection(int channelType)
Constructor for the PropertiesCollection object with a specific type. |
|
| Method Summary | |
void |
addProperty(Property p)
Method to add a property to the collection. |
PropertiesCollection |
findOptimal(PropertiesCollection pc)
Method to find the optimal property. |
java.util.Enumeration |
getProperties()
Method to get the enumerated properties. |
int |
getType()
Method to get the type of the properties collection object. |
PropertiesCollection |
merge(PropertiesCollection pc)
Method to merge two property collection objects. |
void |
setType(int channelType)
Method to set the type of the properties collection object. |
java.lang.String |
toString()
Tranforms this class into String format. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public PropertiesCollection()
public PropertiesCollection(int channelType)
channelType - the type of the properties collection| Method Detail |
public void setType(int channelType)
channelType - the type of the properties collection objectpublic int getType()
public void addProperty(Property p)
p - the property to add
public PropertiesCollection merge(PropertiesCollection pc)
throws DataException
pc - the property collection object to merge
public PropertiesCollection findOptimal(PropertiesCollection pc)
throws DataException
pc - the property collection to searchpublic java.util.Enumeration getProperties()
public java.lang.String toString()
String format.String depiction of PropertiesCollection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||